package org.jeecg.modules.SellsSavesModule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class InstorageItemsInfo implements Serializable {
    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
    /**入库项编码*/
    private java.lang.String code;
    /**入库项批次*/
    private java.lang.String batchName;
    /**商品id*/
    private java.lang.String goodsId;
    /**入库下商品id*/
    private java.lang.String instorageGoodsId;
    /**规格id*/
    private java.lang.String goodsSpecificationsId;
    /**商品尺码id*/
    private java.lang.String goodsSizeId;
    /**入库申请单id*/
    private java.lang.String instorageDanId;
    /**商品类型id*/
    private java.lang.String goodsTypeId;
    /**库位id*/
    private java.lang.String locationId;
    /**每次入库数量*/
    private java.lang.String incount;

    /**状态：状态：0待入库，1入库中，2已入库，3假删除*/
    private java.lang.Integer status;
    /**备注*/
    private java.lang.String remark;
    /**部门编码*/
    private java.lang.String sysOrgCode;
    /**创建人*/
    private java.lang.String createBy;
    /**更新人*/
    private java.lang.String updateBy;
    /**
     * 创建日期
     */
    @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**
     * 更新日期
     */
    @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
    //其他字段
    private java.lang.String specificationsName;
    private java.lang.String goodsSizeName;
    private java.lang.String locationName;

    private String goodsCode;
    private String supplierGoodsCode;//供应商商品编号
    private String goodtypeName;//类型名称
}
